package com.pc_project.domain;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * message
 * @author
 */
@Data
public class Message implements Serializable {
    /**
     * 消息id
     */
    @ApiModelProperty(value = "消息ID", example = "", required = true)
    private Integer mid;

    /**
     * 信件id
     */
    private Integer lid;

    /**
     * 属于哪个用户
     */
    private Integer uid;

    /**
     * 是否通过审核
     */
    private Integer check;

    /**
     * 如果未通过，理由是什么。
     */
    private String reason;

    /**
     * 是否已读
     */
    private Integer read;

    /**
     * 消息具体内容
     */
    private String mInfo;

    /**
     * 最后更新时间
     */
    private Date lastUpdate;

    /**
     * 预留字段号
     */
    private String num;

    public Message(Integer mid, Integer lid, Integer uid, Integer check, String reason, Integer read, String mInfo, Date lastUpdate, String num) {
        this.mid = mid;
        this.lid = lid;
        this.uid = uid;
        this.check = check;
        this.reason = reason;
        this.read = read;
        this.mInfo = mInfo;
        this.lastUpdate = lastUpdate;
        this.num = num;
    }

    private static final long serialVersionUID = 1L;
}